package cn.thornbird.orgsync.service;

import cn.thornbird.orgsync.entity.VerificationCode;
import cn.thornbird.orgsync.exception.NotFoundException;
import cn.thornbird.orgsync.model.PageList;
import cn.thornbird.orgsync.model.combined.VerificationCodeObject;
import cn.thornbird.orgsync.vo.request.VerificationCodeQueryRequest;

public interface VerificationCodeService {

    VerificationCodeObject find(String id) throws NotFoundException;

    PageList<VerificationCode> query(VerificationCodeQueryRequest verificationCodeQueryRequest,
                                     Integer pageNumber, Integer pageSize);

}
